﻿using System;
using Unis.Framework.Core.Exceptions;

namespace Unis.Framework.ORM.Exceptions
{
    public class EntityIsTransientException : APPException
    {
        // Methods
        public EntityIsTransientException()
            : base("This operation can't be performed because the entity is transient !")
        {
        }

        public EntityIsTransientException(string msg)
            : base(msg)
        {
        }

        public EntityIsTransientException(string msg, Exception exception)
            : base(msg, APPMessageType.SysErrInfo, exception)
        {
        }
    }
}
